package com.lc.controller.system;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lc.entity.system.User;
import com.lc.service.system.UserService;

@Controller
@RequestMapping("/system/user")
public class UserController {
	
	@Autowired
	private UserService userService;
	
	@ResponseBody
	@RequestMapping("selectOne")
	public User selectOne(Integer id) {
 		return userService.selectOne(id);
	}

}
